package com.baizhi.springboot.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;

import java.util.Date;

public class User {
    /*`user_id` int(100) NOT NULL AUTO_INCREMENT,
  `user_telphone` varchar(50) DEFAULT NULL,
  `user_password` varchar(50) DEFAULT NULL,
  `user_image` varchar(200) DEFAULT NULL,
  `user_nickname` varchar(200) DEFAULT NULL,
  `user_name` varchar(20) DEFAULT NULL,
  `user_sex` varchar(20) DEFAULT NULL,
  `user_autograph` varchar(200) DEFAULT NULL COMMENT '个性签名',
  `user_province` varchar(200) DEFAULT NULL,
  `user_city` varchar(200) DEFAULT NULL,
  `guru_id` int(100) DEFAULT NULL,
  `user_status` int(11) DEFAULT NULL,
  `user_create_date` datetime DEFAULT NULL,*/
    @Excel(name = "user_id")
    private Integer id;

    @Excel(name = "user_telphone")
    private String telphone;

    @Excel(name = "user_password")
    private String password;

    @Excel(name = "user_image")
    private String image;

    @Excel(name = "user_nickname")
    private String nickname;

    @Excel(name = "user_name")
    private String name;

    @Excel(name = "user_sex")
    private String sex;

    @Excel(name = "user_autograph")
    private String autograph;

    @Excel(name = "user_province")
    private String province;

    @Excel(name = "user_city")
    private String city;

    @Excel(name = "user_guruId")
    private Integer guruId;

    @Excel(name = "user_status")
    private Integer status;

    @Excel(name = "user_createDate",format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;


    public User() {
    }



    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", telphone='" + telphone + '\'' +
                ", password='" + password + '\'' +
                ", image='" + image + '\'' +
                ", nickname='" + nickname + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", autograph='" + autograph + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", guruId=" + guruId +
                ", status='" + status + '\'' +
                ", createDate=" + createDate +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAutograph() {
        return autograph;
    }

    public void setAutograph(String autograph) {
        this.autograph = autograph;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getGuruId() {
        return guruId;
    }

    public void setGuruId(Integer guruId) {
        this.guruId = guruId;
    }

    public User(Integer id, String telphone, String password, String image, String nickname, String name, String sex, String autograph, String province, String city, Integer guruId, Integer status, Date createDate) {
        this.id = id;
        this.telphone = telphone;
        this.password = password;
        this.image = image;
        this.nickname = nickname;
        this.name = name;
        this.sex = sex;
        this.autograph = autograph;
        this.province = province;
        this.city = city;
        this.guruId = guruId;
        this.status = status;
        this.createDate = createDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
